<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    	  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	  xmlns:h="http://java.sun.com/jsf/html"
	  xmlns:f="http://java.sun.com/jsf/core"
	  xmlns:ui="http://java.sun.com/jsf/facelets"
	  xmlns:r="http://radai">
	  
<ui:composition template="./template/#{templateBean.currentTemplate}/template.xhtml">

	<ui:define name="title">Index page</ui:define>
	
	<ui:define name="content">
	    content content<br/>
	    <div id="cssTest">test</div><br/>
	    
	    <h:form id="loginForm">
	    	<h:messages for="loginForm" />
	    	<h:outputText value="#{resource_bundle['hu.radai.jsfportal.login.label.USER_NAME']}" />
	    	<br/>
	    	<h:inputText id="loginName" value="#{loginBean.loginName}" required="true">
	    		<f:validateLength minimum="#{loginBean.loginNameMinLength}" />
	    	</h:inputText>
	    	<br/>
	    	<h:outputText value="#{resource_bundle['hu.radai.jsfportal.login.label.USER_PASSWORD']}" />
	    	<br/>
	    	<h:inputSecret id="loginPassword" value="#{loginBean.loginPassword}" required="true">
	    		<f:validateLength minimum="#{loginBean.loginPasswordMinLength}" />
	    		<f:validateRegex pattern="#{loginBean.loginPasswordRegex}" />
	    	</h:inputSecret>
	    	<br/>
	    	<h:commandButton id="loginButton" value="#{resource_bundle['hu.radai.jsfportal.login.label.LOGIN_BUTTON']}" action="asdf" />
	    </h:form>
	    
	    <br />
	    
	    <r:menu
	    				id="customId"
	    				lang="hu"
	    				menu="#{loginBean.menu}" />
	    
	</ui:define>
	
</ui:composition>
</html>
